<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@include file="/comm.jsp"%>

<a href="../">HOME</a>

<hr>
<form name='form1' method="post" target='result' action='result.jsp'>

<input type='hidden' name='op'>


<textarea name='content' cols=200 rows=9> </textarea>

<select name="charset">

<option>UTF8</option>
<option>GBK</option>
<option>ISO-8859-1</option>
<option>US-ASCII</option>
<option>UTF-16</option>
<option>UTF-16BE</option>
<option>UTF-16LE</option>



</select>
<br><br>


<input type="button"  value="byte" onclick="run('byte')"> 
<input type="button"  value="bit" onclick="run('bit')"> 


<input type="button"  value="md5" onclick="run('md5')"> 
<input type="button"  value="sha256"  onclick="run('sha256')"> 
<input type="button"  value="sha384"  onclick="run('sha384')"> 
<input type="button"  value="sha512"  onclick="run('sha512')"> 

<input type="button"  value="urlencode"  onclick="run('urlencode')"> 
<input type="button"  value="urldecode"  onclick="run('urldecode')"> 


<input type="button"  value="base64encode"  onclick="run('base64encode')"> 
<input type="button"  value="base64decode"  onclick="run('base64decode')"> 
<input type="button"  value="base64urlencode"  onclick="run('base64urlencode')"> 
<input type="button"  value="base64urldecode"  onclick="run('base64urldecode')"> 

<input type="button"  value="unicodeencode"  onclick="run('unicodeencode')"> 
<input type="button"  value="unicodedecode"  onclick="run('unicodedecode')"> 


</form>

<hr>







<hr>

<iframe name='result' width='99%' height='99%' border=0></iframe>


<script>
function run(op){
	// alert("op="+op);
	form1.op.value=op;
    // alert("form1.op.value="+form1.op.value);
    
    form1.submit();
		
}

</script>

